<template>
    <div>
        <!-- 面包屑 -->
        <el-bread class="top"></el-bread>
        <!-- <el-button @click="edit">打开</el-button> -->
        <!-- 列表 -->
        <v-list @edit="edit"></v-list>
        <!-- 弹框 -->
        <v-dialog :isShow="isShow" ref="dialogRef"  @cancel="cancel"></v-dialog>
    </div>
</template>
<script>
import vList from './list.vue'
import vDialog from './dialog.vue'
export default {
    data() {
        return {
            isShow: false,
        }
    },
    methods: {
        cancel(e){
            this.isShow=e
        },
        edit(e){
            this.isShow=true
            this.$refs.dialogRef.lookup(e)
        }
    },
    mounted() {
       
     },
    watch: {},
    computed: {
       
    },
    filters: {},
    components: {
        vList,
        vDialog
    }
}
</script>
<style scoped>
.top {
    margin: 15px;
}
</style>